package com.zrrd.learn.framework.springframework.core.official.annotation;

import lombok.Data;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author wrn
 * @version 1.0
 * @date 2023/9/14 14:27
 */
@Data
@Component
@DependsOn(value = {"banana"})
public class Apple {

    @Resource
    Banana ba;

    private  String color;
}
